#!/bin/bash

/Developer/Tools/packagemaker -build -proj YahooSafariPlugin.pmproj -p YahooSearchPlugin/YahooSafariPlugin.pkg;
svn export http://www.imayhoo.info/safari_plugins/trunk/YahooSearchPlugin/ YahooSearchPlugin/SourceCode/YahooSearchPlugin;
hdiutil create -srcfolder YahooSearchPlugin -format UDCO YahooSearchPlugin.dmg;
rm -rf YahooSearchPlugin/SourceCode/YahooSearchPlugin YahooSearchPlugin/YahooSafariPlugin.pkg;

